import java.util.Scanner;

public class AutoDialer {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入要拨打的号码：");
        int choice = scanner.nextInt();
        switch (choice) {
            case 1:
                // 拨打爸爸的号码
                System.out.println("拨打爸爸的号码...");
                break;
            case 2:
                // 拨打妈妈的号码
                System.out.println("拨打妈妈的号码...");
                break;
            case 3:
                // 拨打爷爷的号码
                System.out.println("拨打爷爷的号码...");
                break;
            case 4:
                // 拨打奶奶的号码
                System.out.println("拨打奶奶的号码...");
                break;
            default:
                System.out.println("无效的选择，请重新输入。");
        }
    }
}